package cn.bocweb.spinning.model.Bean;

import java.util.List;

/**
 * Created by chenchangxing on 16/1/26.
 */
public class SequenceTestBean {


    /**
     * msg : 获取成功
     * return_code : 0
     * data : {"id":"18","title":"北京奥运会在什么时候举办的？","right":"2","ttype":"1","option":["2004","2008","2012","2016"]}
     * record : {"choose":"3","isright":"0","personrate":100,"ok_times":"0","wrong_times":1,"explain":"北京奥运会成功在2021年落幕","allrate":80}
     */

    private String msg;
    private int return_code;
    /**
     * id : 18
     * title : 北京奥运会在什么时候举办的？
     * right : 2
     * ttype : 1
     * option : ["2004","2008","2012","2016"]
     */

    private DataEntity data;
    /**
     * choose : 3
     * isright : 0
     * personrate : 100
     * ok_times : 0
     * wrong_times : 1
     * explain : 北京奥运会成功在2021年落幕
     * allrate : 80
     */

    private RecordEntity record;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getReturn_code() {
        return return_code;
    }

    public void setReturn_code(int return_code) {
        this.return_code = return_code;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public RecordEntity getRecord() {
        return record;
    }

    public void setRecord(RecordEntity record) {
        this.record = record;
    }

    public static class DataEntity {
        private String id;
        private String title;
        private List<String> right;
        private String ttype;
        private List<String> option;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTtype() {
            return ttype;
        }

        public void setTtype(String ttype) {
            this.ttype = ttype;
        }

        public List<String> getOption() {
            return option;
        }

        public void setOption(List<String> option) {
            this.option = option;
        }

        public List<String> getRight() {
            return right;
        }

        public void setRight(List<String> right) {
            this.right = right;
        }
    }

    public static class RecordEntity {
        private String choose;
        private String isright;
        private String personrate;
        private String ok_times;
        private String wrong_times;
        private String explain;
        private String allrate;
        private String isCollect;

        public String getIsright() {
            return isright;
        }

        public void setIsright(String isright) {
            this.isright = isright;
        }

        public String getPersonrate() {
            return personrate;
        }

        public void setPersonrate(String personrate) {
            this.personrate = personrate;
        }

        public String getOk_times() {
            return ok_times;
        }

        public void setOk_times(String ok_times) {
            this.ok_times = ok_times;
        }

        public String getWrong_times() {
            return wrong_times;
        }

        public void setWrong_times(String wrong_times) {
            this.wrong_times = wrong_times;
        }

        public String getExplain() {
            return explain;
        }

        public void setExplain(String explain) {
            this.explain = explain;
        }

        public String getAllrate() {
            return allrate;
        }

        public void setAllrate(String allrate) {
            this.allrate = allrate;
        }

        public String getIsCollect() {
            return isCollect;
        }

        public void setIsCollect(String isCollect) {
            this.isCollect = isCollect;
        }


        public String getChoose() {
            return choose;
        }

        public void setChoose(String choose) {
            this.choose = choose;
        }
    }
}
